package com.zs.diveinspringbootkotlin.configuration

import org.springframework.context.annotation.Bean

/**
 *
 * @description
 * @author madison
 * @date 2021/6/3 18:13
 *
 */
class HelloWorldConfiguration {

    // 方法名即Bean名称
    @Bean
    fun helloWorld(): String {
        return "Hello World 2021"
    }
}